﻿using EMS.system.Entityies.BaseData;
using EMS.system.Entityies.MasterData.CustomerManagementModel;
using EMS.system.Entityies.MasterData.WorkstationModel;
using EMS.system.Entityies.ProductionManagement.ProductionWorkOrderModel;
using EMS.system.Entityies.WarehouseManagement.ProductionRequisitionModel;
using EMS.system.Entityies.WarehouseManagement.WarehouseSettingsModel;
using EMS.system.IEntityAppService.MasterData.CustomerManagementIService.CustomerManagementDTO;
using EMS.system.IEntityAppService.WarehouseManagement.WarehouseSetup;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Dynamic.Core;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Repositories;

namespace EMS.system.IEntityAppService.WarehouseManagement.MaterialRequisition
{
    public interface IProductionRequisitionAppService 
    {
        
        Task<int> AddProductionRequisition(SalesReturnsDTO dto);

        PagedResult GetProductionRequisition(string? code, string? name, int page = 1, int limit = 2);

        Task<int> DeleteProductionRequisition(int id);

        Task<ProductionRequisition> GetProductionRequisitionById(int id);
        Task<int> UpdateProductionRequisition(SalesReturnsDTO dto);
        List<ProductionWorkOrder> GetProductionWorkOrder();
        List<Workstation> GetWorkstation(); 
    }
}
